package com.wzy.java;

public class StreamTestDataNew {
    private int id;
    private int age;
    private String name;
    private String subject1;
    private String subject2;
    private String subject3;
    private String subject4;
    private String subject5;
    private int grade;

    public StreamTestDataNew() {
    }

    public StreamTestDataNew(int id, int age, String name, String subject1, String subject2, String subject3, String subject4, String subject5, int grade) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.subject1 = subject1;
        this.subject2 = subject2;
        this.subject3 = subject3;
        this.subject4 = subject4;
        this.subject5 = subject5;
        this.grade = grade;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubject1() {
        return subject1;
    }

    public void setSubject1(String subject1) {
        this.subject1 = subject1;
    }

    public String getSubject2() {
        return subject2;
    }

    public void setSubject2(String subject2) {
        this.subject2 = subject2;
    }

    public String getSubject3() {
        return subject3;
    }

    public void setSubject3(String subject3) {
        this.subject3 = subject3;
    }

    public String getSubject4() {
        return subject4;
    }

    public void setSubject4(String subject4) {
        this.subject4 = subject4;
    }

    public String getSubject5() {
        return subject5;
    }

    public void setSubject5(String subject5) {
        this.subject5 = subject5;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "StreamTestDataNew{" +
                "id=" + id +
                ", age=" + age +
                ", name='" + name + '\'' +
                ", subject1='" + subject1 + '\'' +
                ", subject2='" + subject2 + '\'' +
                ", subject3='" + subject3 + '\'' +
                ", subject4='" + subject4 + '\'' +
                ", subject5='" + subject5 + '\'' +
                ", grade=" + grade +
                '}';
    }
}
